<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <title>领捷智慧物流管理系统登录入口</title>
    <link rel="hshortcut icon" href="../static/img/own/head.png"/>
    <link rel="stylesheet" href="/static/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i">
    <link rel="stylesheet" href="/static/fonts/fontawesome-all.min.css">
</head>

<body class="bg-gradient-primary">

    <div class="container">
        <div class="row justify-content-center">
            <div class="col-md-9 col-lg-12 col-xl-10">
                <div class="card shadow-lg o-hidden border-0 my-5">
                    <div class="card-body p-0">
                        <div class="row">
                            <div class="col-lg-6 d-none d-lg-flex">
                                <div class="flex-grow-1 bg-login-image" style="background: url(&quot;/static/img/dogs/a.png&quot;);background-size: contain;"></div>
                            </div>
                            <div class="col-lg-6">
                                <div class="p-5">
                                    <div class="text-center">
                                        <h4 class="text-dark mb-4" style="margin-bottom: 42px;"><br>账号密码登录<br><br></h4>
                                    </div>
                                    <form class="user" style="height: 300px;" action="/login" method="post" onsubmit="return denglu(this)">
                                        <div class="form-group" style="margin-bottom: 30px;margin-top: 0px;"><input class="form-control form-control-user" type="text" id="uid" placeholder="请输入账号" name="uid" style="margin-top: 0px;"></div>
                                        <div class="form-group" style="margin-bottom: 30px;"><input class="form-control form-control-user" type="password" id="pwd" placeholder="请输入密码" name="pwd"></div>
                                        <hr style="margin-top: 30px;margin-bottom: 30px;"><button class="btn btn-primary btn-block text-white btn-user" id="login" type="submit" style="font-size: 18px;" value="denglu">登录</button></form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/bootstrap/js/bootstrap.min.js"></script>
    <script src="/static/js/chart.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.js"></script>
    <script src="/static/js/script.min.js"></script>
    <script>

        //登录逻辑
        function denglu(formvalue){
            var uid = formvalue.uid.value;
            var pwd = formvalue.pwd.value;

            var isSubmit = true;
            if(""==uid||""==pwd){
                isSubmit = false;
            }
            if(!isSubmit){
                alert("用户名或密码不能为空");
                return false;
            }
        }

    </script>
</body>



</html>